package com.app.GoCuro.util;

import android.content.Context;
import android.widget.Toast;

public class ErrorMessageCreator
{
	/*
	 * Creates and displays a toast error string on the application
	 */
	public static void CreateErrorMessage(Context appContext, String errorString)
	{
    	//if response was null...show the toast error
		CharSequence errorText = errorString;
		Toast errorToast = Toast.makeText(appContext.getApplicationContext(), errorText, Toast.LENGTH_SHORT);
		errorToast.show();
	}
}
